package com.borya.constant;

/**
 * Redis 存储的KEY常量
 *
 * @author borya
 */
public interface RedisConstant {

	/**
	 * redis命名空间
	 */
	String REDIS_NAME_SPACE = "ka_meng:";

	int REDIS_TIMEOUT_SECOND = 6;
	/*** 审核的redis key ***/
	String AUDIT_KEY = "ka_meng:mq:activatingOrder";
	String MQ_AUDITING_ORDER = "ka_meng:mq:activatingOrder";
	String MQ_AUDITED_ORDER = "ka_meng:mq:activatedOrder";
	// 商户资料完善预审KEY
	String MQ_MERCHANT_PERFECTION_AUDITED_KEY = "ka_meng:mq:merchantPerfectionAudited";
    // 添加子工号预审KEY
    String ADD_SON_JOB_NUM_AUDITED_KEY = "ka_meng:mq:addSonJobNumAudited";
    // SDK商户激活预审KEY
    String MERCHANT_ACTIVATION_AUDITED_KEY = "ka_meng:mq:merchantActivationAudited";
	/**
	 * 验证码
	 */
	String CODE = REDIS_NAME_SPACE + "code";
	/**
	 * sessionId
	 */
	String SESSIONID = REDIS_NAME_SPACE + "sessionId";
	/**
	 * living user
	 */
	String LIVING = REDIS_NAME_SPACE + "livingUser";

	/**
	 * 商户自注册验证码
	 **/
	String SELF_REGIS_CODE = REDIS_NAME_SPACE + "registingcode";

	/**
	 * 商户自注册信息
	 **/
	String SELF_REGIS_INFO = REDIS_NAME_SPACE + "registinginfo";

	/*** SDK开户 ***/
	String SDK_OPEN_ACCOUNT = REDIS_NAME_SPACE + "sdk:openaccount";

	/**
	 * redis存储城市Key
	 **/
	String SET_CITY_KEY = REDIS_NAME_SPACE + "cityList";

	/**
	 * redis存储联通套餐预存Key
	 **/
	String SET_PACKPRE_KEY = REDIS_NAME_SPACE + "packPreList";

	/**
	 * 邀请码
	 **/
	String INVITE = REDIS_NAME_SPACE + "invite";

	String BAIDU_API_AK = REDIS_NAME_SPACE + "dituak";
	String CREATE_USER = REDIS_NAME_SPACE + "kv:create:phone:";
	/**
	 * 欢迎消息
	 **/
	String WELCOME_MSG = REDIS_NAME_SPACE + "hash:msg:welcome";

	String SDK_PACKAGES = REDIS_NAME_SPACE + "sdk_packages";
	String SDK_LOGIN_CODE = REDIS_NAME_SPACE + "sdk_loginCode:";

	String LOCK_SDK_USER_REGISTER = REDIS_NAME_SPACE + "lock:sdk_register:";

    /**
     * 单点结算SDK，tb_sdk_app_conf数据redis存储key
     */
    String SDK_APP_CONF_KEY= REDIS_NAME_SPACE + "tb_sdk_app_conf_key";
}